﻿
using BCCommon;
using BCCommon.Enums;
using BCData.TMS.EasyMoveSuiteConfigTemplate;
using BCDto.Sim.Admin.Admin;
using BCDto.TMS.EasyMoveSuiteConfigTemplate;
using BCEntity.TMS.EasyMoveSuiteConfigTemplate;
using BCService.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BCService.TMS.EasyMoveSuiteConfigTemplate
{
	/// <summary>
	/// 便捷搬家套餐配置模板
	/// </summary>
	public interface IEasyMoveSuiteConfigTemplateService
	{
		#region  成员方法
		/// <summary>
		/// 是否存在此记录
		/// </summary>
		/// <param name="easyMoveSuiteConfigTemplateId">便捷搬家套餐配置模板Id</param>
		bool Exists(int easyMoveSuiteConfigTemplateId);
		/// <summary>
		/// 添加便捷搬家套餐配置模板
		/// </summary>
		/// <param name="adminDto">员工信息</param>
		/// <param name="requestDto">便捷搬家套餐配置模板信息</param>
		EasyMoveSuiteConfigTemplateDto Add(AdminDto adminDto,EasyMoveSuiteConfigTemplateRequestDto requestDto);
		/// <summary>
		/// 更新便捷搬家套餐配置模板
		/// </summary>
		/// <param name="adminDto">员工信息</param>
		/// <param name="putDto">便捷搬家套餐配置模板信息</param>
		EasyMoveSuiteConfigTemplateDto Update(AdminDto adminDto, EasyMoveSuiteConfigTemplatePutDto putDto);
		/// <summary>
		/// 删除便捷搬家套餐配置模板
		/// </summary>
		/// <param name="easyMoveSuiteConfigTemplateId">便捷搬家套餐配置模板Id</param>
		bool Delete(int easyMoveSuiteConfigTemplateId);
		/// <summary>
		/// 获取便捷搬家套餐配置模板
		/// </summary>
		/// <param name="easyMoveSuiteConfigTemplateId">便捷搬家套餐配置模板Id</param>
		EasyMoveSuiteConfigTemplateDto Get(int easyMoveSuiteConfigTemplateId);
		/// <summary>
		/// 获取便捷搬家套餐配置模板列表
		/// </summary>
		IEnumerable<EasyMoveSuiteConfigTemplateDto> GetList();
		/// <summary>
		/// 获取便捷搬家套餐配置模板分页列表
		/// </summary>
		/// <param name="suiteName">套餐名称</param>
		/// <param name="enabled">启用</param>
		/// <param name="start">开始时间</param>
		/// <param name="end">结束时间</param>
		/// <param name="sortName">排序字段</param>
		/// <param name="ascending">升序</param>
		/// <param name="pageIndex">当前页码</param>
		/// <param name="pageSize">便捷搬家套餐配置模板每页数据条数</param>
		PageableList<EasyMoveSuiteConfigTemplateDto> Query(string suiteName, bool? enabled, DateTime? start, DateTime? end, string sortName, bool? ascending, int pageIndex, int pageSize);
		/// <summary>
		/// 启用便捷搬家套餐配置模板
		/// </summary>
		/// <param name="adminDto">员工信息</param>
		/// <param name="easyMoveSuiteConfigTemplateId">便捷搬家套餐配置模板Id</param>
		bool Enabled(AdminDto adminDto, int easyMoveSuiteConfigTemplateId);
		/// <summary>
		/// 禁用便捷搬家套餐配置模板
		/// </summary>
		/// <param name="adminDto">员工信息</param>
		/// <param name="easyMoveSuiteConfigTemplateId">便捷搬家套餐配置模板Id</param>
		bool Disabled(AdminDto adminDto, int easyMoveSuiteConfigTemplateId);
		#endregion  成员方法
	}
}